package com.fdb.efp.loan.service.dao;

import java.util.List;

import com.fdb.efp.loan.service.domain.LoanPolicy;
import com.fdb.efp.loan.service.vo.LoanPolicyVO;

/**
 * <p>DAO interface:马上保单信息				<p>
 * @author cyj
 * @date 2018-12-27
 */
public interface LoanPolicyDao {
	
	public int insertLoanPolicy(LoanPolicy loanPolicy);
	
	public int deleteByPk(LoanPolicy loanPolicy);
	
	public int updateByPk(LoanPolicy loanPolicy);
	
	public LoanPolicy queryByPk(LoanPolicy loanPolicy);
	
	public List<LoanPolicy> queryAllOwnerByPage(LoanPolicyVO loanPolicy);
	
	public List<LoanPolicy> queryAllCurrOrgByPage(LoanPolicyVO loanPolicy);
	
	public List<LoanPolicy> queryAllCurrDownOrgByPage(LoanPolicyVO loanPolicy);
	
	/**
	 * 查询马上的数据 新增
	 * 保单明细表	
	 * @description:TODO
	 * @date:2019年4月20日 下午3:33:37
	 * @author:weijj
	 */
	//public LoanPolicy queryByInsureNo(LoanPolicy queryLoanPolicy);

}
